home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / admin / dig-2.0 / dig-2 / dig.2.0 / subr.h < prev   
Encoding:
C/C++ Source or Header  |  1990-09-01  |  1.3 KB  |  44 lines

  1.  
  2. /*
  3.  * Copyright (c) 1985 Regents of the University of California.
  4.  * All rights reserved.
  5.  *
  6.  * Redistribution and use in source and binary forms are permitted
  7.  * provided that this notice is preserved and that due credit is given
  8.  * to the University of California at Berkeley. The name of the University
  9.  * may not be used to endorse or promote products derived from this
  10.  * software without specific prior written permission. This software
  11.  * is provided ``as is'' without express or implied warranty.
  12.  */
  13.  
  14. /*
  15. ** Distributed with 'dig' version 2.0 from University of Southern
  16. ** California Information Sciences Institute (USC-ISI). 9/1/90
  17. */
  18.  
  19. #define  SUCCESS                0
  20. #define  TIME_OUT               -1
  21. #define  NO_INFO                -2
  22. #define  ERROR                  -3
  23. #define  NONAUTH                -4
  24.  
  25. #define RES_DEBUG2      0x80000000
  26. #define NAME_LEN 80
  27.  
  28. extern int   Print_query();
  29. extern char *Print_cdname();
  30. extern char *Print_cdname2();   /* fixed width */
  31. extern char *Print_rr();
  32. extern char *DecodeType();      /* descriptive version of p_type */
  33. extern char *DecodeError();
  34. extern char *Calloc();
  35. extern void NsError();
  36. extern void PrintServer();
  37. extern void PrintHostInfo();
  38. extern void ShowOptions();
  39. extern void FreeHostInfoPtr();
  40. extern FILE *OpenFile();
  41. extern char *inet_ntoa();
  42. extern char *res_skip();
  43.  
  44.